package homework3;

public class test {
    public static void main(String[] args) {
        basicDepartment basicDepartment = new basicDepartment();
        basicDepartment.setName("张三");
        basicDepartment.setAge(20);
        basicDepartment.setLearnThings("JavaSE");

        employmentClass employmentClass = new employmentClass();
        employmentClass.setName("李四");
        employmentClass.setAge(22);
        employmentClass.setLearnThings("Android");

        basicDepartment.study();
        employmentClass.study();
    }
}
